
import request from '@/utils/axios-req'

export const listReq = (query) => {
  return request({
    url: '/issue/transitions',
    method: 'get',
    reqLoading: false,
    params: query
  })
}

export const getTransitionFields = (query) => {
  return request({
    url: '/issue/transitionsCheck',
    method: 'get',
    reqLoading: false,
    params: query
  })
}
export const confirmUpdate = (data) => {
  return request({
    url: '/issue/transitionsUpdate',
    method: 'post',
    reqLoading: false,
    data
  })
}
export const queryFields = (data) => {
  return request({
    url: '/issue/fieldsAutoComplete',
    method: 'post',
    reqLoading: false,
    data
  })
}
